package com.lt.test.provider.mapper;

import java.util.List;
import java.util.Map;

/**
 * @author ：Dragon.LT
 * @date ：Created in 2019/12/26 15:00
 * @description：
 * @modified By：Dragon.LT
 * @version: $
 */

public interface ProdMapper {
    Map queryKtProd(String id);

    void createKtProd(Map parameter);

    void updateKtProd(Map parameter);

    int getProdInfoListSize(Map parameter);
    List<Map<String,Object>> getProdInfoListByPage(Map parameter);

    Map<String,Object> getProdPriceListSize(String productCode, String productName, String typeId, String state);
    List<Map<String,Object>> getProdPriceListByPage(String productCode, String productName, String typeId, String state, Long beginNum, Long endNum);

    Map<String,Object> getShopListSize(String shopName, String shopType, String state, String orgType);
    List<Map<String,Object>> getShopListByPage(String shopName, String shopType, String shopTypeText, String state, String orgType, Long beginNum, Long endNum);

    List<Map<String,Object>> getDict(String dictName);

    List<Map<String,Object>> getProdProperty(String typeId);

    Map<String,Object> getProdRecord(String productCode);


    Map<String,Object> getRecommendProdListSize(String shopId);
    List<Map<String,Object>> getRecommendProdList(String shopId, Long beginNum, Long endNum);

    Map<String,Object> getRecommendCigaretteListSize(String shopId);
    List<Map<String, Object>> getRecommendCigaretteList(String shopId, Long beginNum, Long endNum);

    Map<String,Object> getCenterRecommendProdListSize(String shopId, String supplierName);
    List<Map<String,Object>> getCenterRecommendProdList(String shopId, String shopName, String supplierName, Long beginNum, Long endNum);

    Map<String,Object> getCenterRecommendTightTobaccoListSize(String shopId);
    List<Map<String,Object>> getCenterRecommendTightTobaccoList(String shopId, Long beginNum, Long endNum);
}
